<?php echo form_open('home/login'); ?>
<table align="center">
    <td><?php
            echo $erreur;
            ?></td>
    <tr>
        <td>Account name:</td>
        <td><input type="text" name="account_name" size="25" value="<?php echo set_value('account_name'); ?>"/></td>
        <td><?php echo form_error('account_name') ?><td>
    </tr>
    <tr>
        <td>pass:</td>
        <td><input type="password" name="pass" size="25" value="<?php echo set_value('pass'); ?>"/></td>
        <td><?php echo form_error('pass') ?><td>
    </tr>
    <tr>
        <td><input type="submit" name="submit" value="Login" /></td>
    </tr>
</table>
<?php echo form_close(); ?>